SkyVerge\WooCommerce\PluginFramework\v5_2_1\SV_WC_Payment_Gateway D

Total Complexity 441
Dependencies 29
Dependents 8
Total lines 4,281
Lines of code 1,492
Logical lines of code 715
Comment lines 1,823
Methods 163
Properties 21

Methods 163

Method Rating Maintainability Complexity Lines of code
add_transaction_data()
C
40 26 50
__construct()
A
40 14 58
init_form_fields()
A
39 11 66
add_debug_message()
A
55 11 18
get_credit_card_transaction_approved_message()
A
47 10 33
add_shared_settings_form_fields()
A
48 10 30
get_icon()
A
53 10 20
process_refund()
A
48 9 33
admin_options()
A
41 5 87
complete_payment()
A
53 9 20
is_available()
A
55 9 19
mark_order_as_held()
A
54 8 19
do_credit_card_capture()
S
43 5 51
add_authorization_charge_form_fields()
S
45 5 41
order_needs_shipping()
S
58 6 16
do_transaction_failed_result()
S
58 6 15
load_shared_settings()
S
58 6 15
get_customer_id()
S
55 5 19
mark_order_as_failed()
S
57 5 17
add_capture_data()
S
64 6 8
get_payment_method_image_url()
S
58 5 14
add_customer_data()
S
61 5 12
process_void()
S
53 4 22
enqueue_gateway_assets()
S
55 4 19
perform_credit_card_charge()
S
64 5 8
get_order()
S
56 4 15
get_echeck_transaction_approved_message()
S
60 4 11
add_support()
S
62 4 11
localize_script()
S
61 4 11
mark_order_as_voided()
S
57 3 16
maybe_render_held_order_received_text()
S
68 4 7
authorization_fully_captured()
S
67 4 7
get_order_for_capture()
S
58 3 14
get_order_with_unique_transaction_ref()
S
60 3 12
authorization_valid_for_capture()
S
61 3 12
add_csc_form_fields()
S
57 2 17
get_refund_failed_wp_error()
S
58 2 17
get_void_failed_wp_error()
S
58 2 17
get_order_for_refund()
S
61 3 10
get_order_meta()
S
65 3 9
update_order_meta()
S
65 3 9
add_refund_data()
S
70 3 6
delete_order_meta()
S
65 3 9
add_void_data()
S
70 3 6
add_order_meta()
S
64 3 9
currency_is_accepted()
S
66 3 9
remove_support()
S
64 3 9
load_settings()
S
67 3 8
get_customer_id_user_meta_name()
S
69 3 6
enqueue_payment_form_assets()
S
63 3 9
is_pay_page_gateway()
S
64 3 10
supports_subscriptions()
S
79 3 3
enqueue_scripts()
S
67 3 9
supports_pre_orders()
S
79 3 3
get_default_description()
S
67 3 8
init_integrations()
S
65 3 9
get_default_title()
S
67 3 8
get_payment_method_defaults()
S
60 2 14
get_available_card_types()
S
58 2 14
add_refund_order_note()
S
62 2 11
get_payment_form_js_localized_script_params()
S
52 1 23
get_order_button_text()
S
73 2 4
get_payment_currency()
S
65 2 9
get_environments()
S
69 2 6
supports_check_field()
S
74 2 4
update_customer_id()
S
70 2 6
remove_customer_id()
S
70 2 6
get_guest_customer_id()
S
68 2 7
supports_credit_card_authorization()
S
79 2 3
supports_credit_card_charge()
S
79 2 3
log_api_request()
S
70 2 6
get_post()
S
71 2 6
supports_credit_card_charge_virtual()
S
79 2 3
csc_enabled_for_tokens()
S
79 2 3
has_authorization_expired()
S
70 2 5
add_api_request_logging()
S
71 2 5
get_request()
S
71 2 6
perform_credit_card_authorization()
S
70 2 5
supports_card_types()
S
79 2 3
get_checkout_order_received_order_id()
S
74 2 4
mark_order_as_cancelled()
S
64 2 9
get_environment_name()
S
70 2 6
maybe_cancel_voided_order()
S
67 2 8
get_checkout_pay_page_order_id()
S
74 2 4
get_order_authorization_amount()
S
74 2 4
debug_checkout()
S
78 2 3
debug_log()
S
78 2 3
supports_voids()
S
79 2 3
get_pre_orders_integration()
S
78 2 3
mark_order_as_refunded()
S
66 2 8
get_subscriptions_integration()
S
78 2 3
is_test_environment()
S
71 2 6
is_production_environment()
S
71 2 6
get_integration()
S
78 2 3
payment_fields()
S
70 2 7
add_card_types_form_fields()
S
59 1 14
get_accepted_currencies()
S
82 1 3
get_id()
S
82 1 3
get_environment()
S
82 1 3
add_pay_page_handler()
S
78 1 3
get_api()
S
81 1 3
is_echeck_gateway()
S
79 1 3
get_gateway_js_handle()
S
80 1 3
is_credit_card_gateway()
S
79 1 3
get_payment_type()
S
82 1 3
is_hosted_gateway()
S
82 1 3
get_order_meta_prefix()
S
79 1 3
is_direct_gateway()
S
82 1 3
set_supports()
S
81 1 3
get_gateway_js_localized_script_params()
S
91 1 2
get_id_dasherized()
S
79 1 3
get_plugin()
S
82 1 3
is_enabled()
S
80 1 3
payment_page()
S
78 1 3
debug_off()
S
80 1 3
csc_enabled()
S
80 1 3
is_environment()
S
80 1 3
is_detailed_customer_decline_messages_enabled()
S
80 1 3
csc_required()
S
81 1 3
share_settings()
S
82 1 3
inherit_settings()
S
80 1 3
get_available_countries()
S
82 1 3
get_method_title()
S
82 1 3
is_configured()
S
82 1 3
supports_payment_form()
S
80 1 3
add_payment_gateway_refund_data()
S
91 1 2
get_integrations()
S
82 1 3
add_payment_gateway_transaction_data()
S
91 1 2
build_subscriptions_integration()
S
80 1 3
build_pre_orders_integration()
S
80 1 3
add_payment_gateway_void_data()
S
91 1 2
maybe_void_instead_of_refund()
S
82 1 3
supports_apple_pay()
S
80 1 3
get_apple_pay_capabilities()
S
71 1 7
supports_token_editor()
S
80 1 3
get_apple_pay_currencies()
S
81 1 3
get_order_for_apple_pay()
S
71 1 6
supports_refunds()
S
80 1 3
add_payment_gateway_capture_data()
S
98 1 1
get_order_capture_maximum()
S
80 1 3
do_credit_card_capture_failed()
S
98 1 1
get_method_form_fields()
S
100 1 0
add_milestone_hooks()
S
65 1 9
tokenize_after_sale()
S
82 1 3
get_payment_form_instance()
S
80 1 3
get_authorization_time_window()
S
82 1 3
add_tokenization_form_fields()
S
63 1 10
tokenization_enabled()
S
76 1 4
supports_tokenization()
S
80 1 3
get_card_types()
S
77 1 4
supports_add_payment_method()
S
80 1 3
is_paid_capture_enabled()
S
77 1 3
add_environment_form_fields()
S
63 1 10
init_payment_tokens_handler()
S
80 1 3
supports_customer_id()
S
80 1 3
authorization_captured()
S
77 1 3
build_payment_tokens_handler()
S
80 1 3
get_payment_tokens_handler()
S
82 1 3
supports_credit_card_partial_capture()
S
80 1 3
supports_credit_card_capture()
S
80 1 3
tokenize_before_sale()
S
82 1 3
tokenize_with_sale()
S
82 1 3
is_partial_capture_enabled()
S
74 1 4